package com.stylefeng.guns.modular.pay.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 提现申请表
 * </p>
 *
 * @author stylefeng
 * @since 2018-09-11
 */
@TableName("pay_withdraw_apply")
public class WithdrawApply extends Model<WithdrawApply> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单号
     */
    @TableField("out_trade_no")
    private String outTradeNo;
    
    /**
     * 账户名
     */
    @TableField("account_name")
    private String accountName;
    
    
    /**
     * 帐号
     */
    @TableField("account_no")
    private String accountNo;
    /**
     * 申请日期
     */
    @TableField("apply_date")
    private Date applyDate;
    /**
     * 提现金额
     */
    private String amount;
    /**
     * 审核状态(0-提交审核中 1-已审核 2-审核失败 3-打款中 4-已打款 5打款失败)
     */
    private Integer status;
    /**
     * 手续费
     */
    @TableField("charge_fee")
    private Integer chargeFee;
    /**
     * 审核时间
     */
    @TableField("audit_date")
    private Date auditDate;
    /**
     * 审核描述
     */
    @TableField("audit_desc")
    private String auditDesc;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;
    /**
     * 关联账号
     */
    @TableField("pk_account_id")
    private Integer pkAccountId;


    private String summary;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getChargeFee() {
        return chargeFee;
    }

    public void setChargeFee(Integer chargeFee) {
        this.chargeFee = chargeFee;
    }

    public Date getAuditDate() {
        return auditDate;
    }

    public void setAuditDate(Date auditDate) {
        this.auditDate = auditDate;
    }

    public String getAuditDesc() {
        return auditDesc;
    }

    public void setAuditDesc(String auditDesc) {
        this.auditDesc = auditDesc;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getPkAccountId() {
        return pkAccountId;
    }

    public void setPkAccountId(Integer pkAccountId) {
        this.pkAccountId = pkAccountId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
    

    public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	
	

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	@Override
    public String toString() {
        return "WithdrawApply{" +
        "id=" + id +
        ", outTradeNo=" + outTradeNo +
        ", applyDate=" + applyDate +
        ", amount=" + amount +
        ", status=" + status +
        ", chargeFee=" + chargeFee +
        ", auditDate=" + auditDate +
        ", auditDesc=" + auditDesc +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", pkAccountId=" + pkAccountId +
        "}";
    }
}
